<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html">
<f:view contentType="text/html" />

<h:head>
	<title>Create Subject!</title>
</h:head>
<h:body bgcolor="white">
	<h:form id="subjectsForm">
		<h:panelGrid id="subjectsTable" columns="2">
			<h:outputLabel for="subjectName">
				<h:outputText id="subjectNameLabel" value="Subject Name:" />
			</h:outputLabel>

			<h:inputText id="subjectName" value="#{subjectController.subjectName}" required="true" />
			

			<h:commandButton id="submit"
				action="#{subjectController.createSubject}" value="Create Subject" />
		</h:panelGrid>
	</h:form>
</h:body>
</html>
